<div class="notification notifyError loginNotify"<?php if( !$sf_user->hasFlash('error') ) echo ' style="display: none;"';?>>
    <?php echo $sf_user->getFlash('error')?>
</div>

<form method="post" action="<?php echo url_for('@login')?>" id="loginform">
    <div class="loginbox">
        <div class="loginbox_inner">
            <div class="loginbox_content">
                <input type="text" class="username" name="username" default="Логин" value="<?php echo $sf_params->get('username') ? $sf_params->get('username') : $sf_request->getCookie('username')?>" />
                <input type="password" class="password" name="password" default="Пароль" value="<?php echo $sf_params->get('password') ? $sf_params->get('password') : $sf_request->getCookie('password')?>" />
                <input type="submit" value="Войти" />
            </div><!--loginbox_content-->
        </div><!--loginbox_inner-->
    </div><!--loginbox-->

    <div class="loginoption">
        <!--<a class="cant" href="">Восстановить пароль</a>-->
        <input type="checkbox" name="remember" value="1"<?php if( $sf_params->get('remember') || $sf_request->getCookie('remember') ) echo ' checked="checked"'?> /> Запомнить
    </div><!--loginoption-->
</form>